package com.zcl;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/8  18:20
 */
public class StaticTest {
    static int i = 49;


    static int staticFunc(){
        i +=3;
        return i;
    }


    public static void main(String[] args) {
        StaticTest st1 = new StaticTest();
        StaticTest st2 = new StaticTest();
        st1.i += 2;
        System.out.println(st1.i);
        System.out.println(st2.i);
        System.out.println(StaticTest.staticFunc());
    }
}


